<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改目标文件结构配置详情')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-targetstrucdetail-edit" th:object="${targetstrucdetail}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">目标数据id：</label>
				<div class="col-sm-8">
					<input id="ssid" name="ssid" th:field="*{ssid}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">字段项(域)名：</label>
				<div class="col-sm-8">
					<input id="item" name="item" th:field="*{item}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">字段数据类型：</label>
				<div class="col-sm-8">
					<input id="itemType" name="itemType" th:field="*{itemType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">字段长度：</label>
				<div class="col-sm-8">
					<input id="itemLength" name="itemLength" th:field="*{itemLength}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">字段简称：</label>
				<div class="col-sm-8">
					<input id="itemName" name="itemName" th:field="*{itemName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">字段含义：</label>
				<div class="col-sm-8">
					<input id="itemDisc" name="itemDisc" th:field="*{itemDisc}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">0--default, fileHeader--1, fileFooter--2：</label>
				<div class="col-sm-8">
					<input id="itemStruct" name="itemStruct" th:field="*{itemStruct}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">0-无,1-统计合并字段：</label>
				<div class="col-sm-8">
					<input id="sunFlag" name="sunFlag" th:field="*{sunFlag}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">序号：</label>
				<div class="col-sm-8">
					<input id="orderFlag" name="orderFlag" th:field="*{orderFlag}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/targetstrucdetail";
		$("#form-targetstrucdetail-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-targetstrucdetail-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
